package net.jueb.frameworkDemo.se.observer.eventBus.Observer;

/**
 * 主题2
 * @author juebanlin
 */
public class ConcreteSubject2 extends Subject {

    private int subjectState;

    public ConcreteSubject2(int subjectState) {
        this.subjectState = subjectState;
    }

    @Override
    public Object getEvent() {
        System.out.println("Custom ConcreteSubject2");
        return subjectState;
    }
}


